package nsqModel

type NMessage struct {
	Topic string
	Body  interface{}
}

//报告消息
//报告错误消息
//报告页面变更
const (
	APPREPORT      = "app_report_msg"
	APPERROR       = "app_error_msg"
	APPBURIEDPOINT = "app_buried_point"
)

//日志类型对应，超出这些都不接收
var NMessageTypeMap map[string]string = map[string]string{"NETERROR": APPERROR, "HEALTHMONITORING": APPBURIEDPOINT, "JAVASCRIPT": APPERROR, "JAVA": APPERROR, "LOG": APPREPORT, "GO": APPERROR, "BURIEDPOINT": APPBURIEDPOINT}
